<template>
	<view class="window-bg"></view>
	<view class="floating-window">
		<slot></slot>
	</view>
</template>

<script setup>
	import { ref, watch } from 'vue';
	
</script>

<style lang="scss" scoped>

	.window-bg {
		position: fixed; top: -500%; left: -500%;
		width: 1100%; height: 1100%;
		background-color: rgba(0, 0, 0, 0.5);
		backdrop-filter: blur(5px);
		display: flex; justify-content: center; align-items: center;
	}
	
	.floating-window{
		// border: 1px solid red;
		border-radius: 20px;
		position: fixed; top: 25%; left: 10%;
		width: 80%; height: 50%;
		background-color: rgba(255,255,255,0.8);
		backdrop-filter: blur(10px);
	
	}

</style>
